﻿using System;
using System.Collections.Generic;
using System.Text;

public class V2
{
    public float X;
    public float Y;
    public static float Distance(V2 from, V2 to)
    {
        return (float)Math.Sqrt(Math.Pow(from.X - to.X, 2) + Math.Pow(from.Y - to.Y, 2));
    }
}

